#ifndef PHYSICS_H_INCLUDED
#define PHYSICS_H_INCLUDED

#include "Box2D.h"
#include "walls.h"

#define DEFAULT_BARRIER_THICKNESS 0.5f
#define AMBIENT_TEMPERATUTE 40.0f
#define DEFAULT_HEAT_CONDUCTIVITY 0.2f
#define ITERATIONS 10
#define TIME_STEP (1.0f/60.0f)

class Physics
{
    public:
        Physics(float world_bottom,float world_left,float world_top,float world_right);
        ~Physics();
        void add_walls_to_world(Wall_List *wall_list);
        void update(unsigned long timedelta); 
        void add_ship(float x, float y);
        b2World *world;
        Wall_List *boundary_walls;
    private:
        unsigned long time_remainder;
};

#endif // PHYSICS_H_INCLUDED1
